import request from '@/utils/request'

// 查询芯鱼活动列表
export function listActivexinyu(query) {
  return request({
    url: '/system/activexinyu/list',
    method: 'get',
    params: query
  })
}

// 查询芯鱼活动详细
export function getActivexinyu(sysActivexinyuid) {
  return request({
    url: '/system/activexinyu/' + sysActivexinyuid,
    method: 'get'
  })
}

// 新增芯鱼活动
export function addActivexinyu(data) {
  return request({
    url: '/system/activexinyu',
    method: 'post',
    data: data
  })
}

// 修改芯鱼活动
export function updateActivexinyu(data) {
  return request({
    url: '/system/activexinyu',
    method: 'put',
    data: data
  })
}

// 删除芯鱼活动
export function delActivexinyu(sysActivexinyuid) {
  return request({
    url: '/system/activexinyu/' + sysActivexinyuid,
    method: 'delete'
  })
}

// 导出芯鱼活动
export function exportActivexinyu(query) {
  return request({
    url: '/system/activexinyu/export',
    method: 'get',
    params: query
  })
}